#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <assert.h>
char* mystrcpy(char* a, char* b)
{
    assert(a && b);
    char* ret = a;
    while ((*a++ = *b++) != '\0');
    return ret;
}
int main()
{
    char arr1[] = "hello word!";
    char arr2[] = "hello bit!";
    mystrcpy(arr1, arr2);
    printf("%s ", arr1);
    return 0;
}